package rpc.provider.consumer;

/**
 * @author: cuiyutian1
 * @date: 2021/9/4 13:12
 * @description:
 */
public enum SoaErrorEnum {

    SUCCESS("1000","请求成功"),
    ERROR("1001","请求失败"),
    PARAM_ERROR("1002","非法参数"),
    SYSTEM_ERROR("1003","系统异常"),
    SERVER_ERROR("1004","服务异常"),
    ;
    private String code;
    private String msg;

    SoaErrorEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
